file chooser: Avoid a crash
authorMatthias Clasen <mclasen@redhat.com>
Wed, 16 Sep 2015 14:39:19 +0000 (07:39 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 16 Sep 2015 14:41:02 +0000 (07:41 -0700)
commit450056cdfe5cbf6fdff9c9def77570d37c0b3cd4
treeb82b1d90124a075e4ef68943a3759053de5f048d
parentee8eb91523fcca2c7d0c783a3289e9f72bb74770
file chooser: Avoid a crash

When right-clicking in an empty folder, you should get a context
menu, not a crash. The code for positioning the popover was not
handling the eventuality of no row under the pointer. Just position
the popover right at the click location in this case.

https://bugzilla.gnome.org/show_bug.cgi?id=755021
gtk/gtkfilechooserwidget.c